/*

 Program housekeeping.do does a bunch of housekeeping stuff. In a
 separate program so that the same lines do not have to be included in
 every individual program.

 Kumler, Verhoogen, Frias "Enlisting Employees ..." REStat forthcoming

*/

  
#delimit;
set more off;

************* housekeeping ************;

clear all;
	
*** initialize filename global, in case program is accidentally
	  invoked using do instead of personal ado file dolog;
	
	if "$filename"==""
	  {;
		global filename="junk";              
		};
	
*** initialize log;
capture log close;
log using $filename.log, replace;
	
version 10.0;
set logtype text;
set linesize 180;	

*** globals for directories

global code "C:\compliance\code\";
global work "C:\compliance\work\";
global tmp "C:\compliance\tmp\";
global figs "${code}figs\";
global tables "${code}tables\";
global raw "C:\compliance\raw\";
